<template>
  <div class="app-container">
  </div>

</template>
<style>
  .topSearch {
    border: 0.1em RGB(218, 218, 218) solid;
    padding: 1em;
  }
</style>
<script>

  const requestProject = require('@/api/project/project')
  const requestCompany = require('@/api/project/company')
  let _this;
  export default {
    components: {},
    filters: {
      // statusFilter(status) {
      //   const statusMap = {
      //     published: 'success',
      //     draft: 'gray',
      //     deleted: 'danger'
      //   }
      //   return statusMap[status]
      // }
    },
    data() {
      return {
        page: 1,
        size: 20,
        total: 0,
        autoHeight: 800,//根据屏幕高度自动计算的高度

        selectProjectId: null,
        projectList: []

      }
    }, beforeMount() {
      this.authHeight = document.body.scrollHeight - 190

    }, mounted() {
      _this = this;
      this.setItem("scrollHeight", document.body.scrollHeight);
      this.setItem("scrollWidth", document.body.scrollWidth);


      //直接调用  组件页面还未初始化完毕
      setTimeout(function () {
        _this.onClickSearch();
      }, 500)
    },
    created() {

    },
    computed: {
      shouldShowSelect() {
        return this.activeName !== '6' && this.activeName !== '8' && this.activeName !== '9' && this.activeName !== '10' && this.activeName !== '11';
      }
    },
    methods: {
      onClickSearch() {
      }

    }
  }
</script>
